﻿using Order.Domain.Base;
using Order.Domain.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Order.Domain.OrderDomain
{
    /// <summary>
    /// 处方实体
    /// </summary>
    [Table("Prescription")]
    public class Prescription : BaseEntity
    {
        /// <summary>
        /// 处方编号
        /// </summary>
        public string? PrescriptionNo { get; set; }

        /// <summary>
        /// 处方订单Id
        /// </summary>
        public int? PrescriptionOrderId { get; set; }

        /// <summary>
        /// 处方单状态
        /// </summary>
        public PrescriptionStatusEnum? PrescriptionStatus { get; set; }

        /// <summary>
        /// 医生
        /// </summary>
        public string? Doctor { get; set; }

        /// <summary>
        /// 科室
        /// </summary>
        public DeptEnum? Department { get; set; }

        /// <summary>
        /// 初步诊断
        /// </summary>
        public string? PrimaryDiagnosis { get; set; }

        /// <summary>
        /// 处理意见
        /// </summary>
        public string? Advice { get; set; }
    }
}
